treelistmodel: Make constructor transfer full
authorMatthias Clasen <mclasen@redhat.com>
Sun, 26 Jul 2020 20:38:53 +0000 (16:38 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 26 Jul 2020 22:04:40 +0000 (18:04 -0400)
commitdd1c0c0b2238030cfb5c9cefd6b9fea468502e50
tree73c6d6b92bb775cb4b1b4996c500c213c9386c38
parenta46cfd3ff4120c377900374ed660e7299e380914
treelistmodel: Make constructor transfer full

Make gtk_tree_list_model_new() take the root model
as first argument, and make it transfer full, for
consistency with other wrapping list constructors.

Update all callers.

Still missing here: Make the model property writable,
and allow passing NULL in the constructor.
12 files changed:
demos/gtk-demo/listview_settings.c
demos/gtk-demo/main.c
gtk/gtktreelistmodel.c
gtk/gtktreelistmodel.h
gtk/inspector/object-tree.c
gtk/inspector/recorder.c
gtk/inspector/resource-list.c
tests/testcolumnview.c
tests/testlistdnd.c
tests/testlistview.c
testsuite/gtk/treelistmodel.c
testsuite/gtk/treesorter.c